﻿using System;

namespace BSDS.Commands.Configuration
{
    public class SmtpConfiguration
    {
        public string SenderAccount { get; private set; }
        public string SenderPassword { get; private set; }
        public string SmtpServer { get; private set; }
        public int SmtpPort { get; private set; }
        public bool EnableSsl { get; private set; }
        public TimeSpan SmtpTimeout { get; private set; }

        public SmtpConfiguration(string senderAccount, string senderPassword, string smtpServer, int smtpPort, bool enableSsl, TimeSpan smtpTimeout)
        {
            SenderAccount = senderAccount;
            SenderPassword = senderPassword;
            SmtpServer = smtpServer;
            SmtpPort = smtpPort;
            EnableSsl = enableSsl;
            SmtpTimeout = smtpTimeout;
        }
    }
}